<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <script src="https://lib.baomitu.com/vue/2.6.12/vue.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script>
    <style>
        span{
            color : red;
        }
    </style>

</head>
<body>
<h1>登录</h1>
<div id="app" style="width: 500px;margin: auto">
    名称:<input v-model="name">
        <span v-text="errorMsg.name"></span><br>
    密码:<input type="password" v-model="pwd">
        <span v-text="errorMsg.pwd"></span><br>
    <button @click="withdraw">取款</button>
</div>

</body>
</html>